﻿namespace UsageTracker.Logger.Loggers
{
    using System;

    class ConsoleLogger:IUsageLogger
    {
        public void Log(string logMessage, bool isLogImmediate)
        {
            Console.BackgroundColor = ConsoleColor.Yellow;
            Console.ForegroundColor = ConsoleColor.Black;
            Console.WriteLine(logMessage);
            Console.BackgroundColor = ConsoleColor.Black;
            Console.ForegroundColor = ConsoleColor.White;
        }
    }
}
